

function type1(data,userid){
	// mui.toast('kais')
	var str = '';
	if(data.forms.id==userid){
		str = '<div class="rightnews">'+
										'<div><img  src="'+data.forms.touxiang+'" /></div>'+
											'<div class="pingluns">   <div>'+data.forms.name+'</div>'+
													'<div>'+data.neirong+'</div>'+
													'<div>'+data.create_time+'</div>'+
											'</div>'+
										'</div>';
	}else{
		str = '<div class="leftnews">'+
											'<div><img  src="'+data.forms.touxiang+'" /></div>'+
											'<div class="pingluns">   <div>'+data.forms.name+'</div>'+
													'<div>'+data.neirong+'</div>'+
													'<div>'+data.create_time+'</div>'+
											'</div>'+
										'</div>';
	}
	$("#msg-list").append(str);
	// mui.toast('jies')
}
function type2(data,userid){
	var str = '';
	if(data.forms.id==userid){
			str = '<div class="rightnews">'+
					'<div><img  src="'+data.forms.touxiang+'" /></div>'+
					'<div class="pingluns">   <div>'+data.forms.name+'</div>'+
							'<div ><img   class="liaoimg" src="'+data.tupians+'" /></div>'+
					'<div>'+data.create_time+'</div>'+
					'</div>'+
				'</div>';
	}else{
			str = '<div class="leftnews">'+
					'<div><img  src="'+data.forms.touxiang+'" /></div>'+
					'<div class="pingluns">   <div>'+data.forms.name+'</div>'+
							'<div ><img   class="liaoimg" src="'+data.tupians+'" /></div>'+
					'<div>'+data.create_time+'</div>'+
					'</div>'+
				'</div>';
	}
	$("#msg-list").append(str);
}
function type3(data,userid){
	var str = '';
	if(data.forms.id==userid){
			str = '<div class="rightnews">'+
						'<div><img  src="'+data.forms.touxiang+'" /></div>'+
					'<div class="pingluns">   <div>'+data.forms.name+'</div>'+
					        '<div class="mList"><div class="recordItem" href="java"  src="'+data.yuyin+'">'+data.yuyin_time+'  s音频</div></div>'+
							'<div>'+data.create_time+'</div>'+
					'</div>'+
				'</div>';
	}else{
			str = '<div class="leftnews">'+
					'<div><img  src="'+data.forms.touxiang+'" /></div>'+
						'<div class="pingluns">   <div>'+data.forms.name+'</div>'+
						        '<div class="mList"><div class="recordItem" href="java"  src="'+data.yuyin+'">'+data.yuyin_time+'  s音频</div></div>'+
								'<div>'+data.create_time+'</div>'+
						'</div>'+
					'</div>';
	}
	$("#msg-list").append(str);
}
function uptype1(data,userid){
	var str = '';
	if(data.forms.id==userid){
		str = '<div class="rightnews">'+
										'<div><img  src="'+data.forms.touxiang+'" /></div>'+
											'<div class="pingluns">   <div>'+data.forms.name+'</div>'+
													'<div>'+data.neirong+'</div>'+
													'<div>'+data.create_time+'</div>'+
											'</div>'+
										'</div>';
	}else{
		str = '<div class="leftnews">'+
											'<div><img  src="'+data.forms.touxiang+'" /></div>'+
											'<div class="pingluns">   <div>'+data.forms.name+'</div>'+
													'<div>'+data.neirong+'</div>'+
													'<div>'+data.create_time+'</div>'+
											'</div>'+
										'</div>';
	}
	$(".history").after(str);
}
function uptype2(data,userid){
	var str = '';
	if(data.forms.id==userid){
			str = '<div class="rightnews">'+
					'<div><img  src="'+data.forms.touxiang+'" /></div>'+
					'<div class="pingluns">   <div>'+data.forms.name+'</div>'+
							'<div ><img   class="liaoimg" src="'+data.tupians+'" /></div>'+
					'<div>'+data.create_time+'</div>'+
					'</div>'+
				'</div>';
	}else{
			str = '<div class="leftnews">'+
					'<div><img  src="'+data.forms.touxiang+'" /></div>'+
					'<div class="pingluns">   <div>'+data.forms.name+'</div>'+
							'<div ><img   class="liaoimg" src="'+data.tupians+'" /></div>'+
					'<div>'+data.create_time+'</div>'+
					'</div>'+
				'</div>';
	}
	$(".history").after(str);
}
function uptype3(data,userid){
	var str = '';
	if(data.forms.id==userid){
			str = '<div class="rightnews">'+
						'<div><img  src="'+data.forms.touxiang+'" /></div>'+
					'<div class="pingluns">   <div>'+data.forms.name+'</div>'+
					        '<div class="mList"><div class="recordItem" href="java"  src="'+data.yuyin+'">'+data.yuyin_time+'  s音频</div></div>'+
							'<div>'+data.create_time+'</div>'+
					'</div>'+
				'</div>';
	}else{
			str = '<div class="leftnews">'+
					'<div><img  src="'+data.forms.touxiang+'" /></div>'+
						'<div class="pingluns">   <div>'+data.forms.name+'</div>'+
						        '<div class="mList"><div class="recordItem" href="java"  src="'+data.yuyin+'">'+data.yuyin_time+'  s音频</div></div>'+
								'<div>'+data.create_time+'</div>'+
						'</div>'+
					'</div>';
	}
	$(".history").after(str);
}